package com.kevin.decorator;

/**
 * 抽象装饰者
 *
 * @author kevin
 * @date 2025/8/22
 */
public class Decorator implements Component{

    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }
}
